#ifndef _XMLREQUEST_H
#define _XMLREQUEST_H 1

#include "Request.h"
#include <map>
#include <libxml/parser.h>

namespace http {
  class XMLRequest : public Request
  {
    public:
      // Constructors
      XMLRequest(const std::map<std::string, std::string> &, const char *root="root");

      // Object methods
      std::string getData();

    private:
      // Members
      xmlDocPtr doc;
  };
}

#endif /* !_XMLREQUEST_H */
